home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Updates / General / Frontier 3.0 to 3.0.3 Upg.sit / 3.0 => 3.0.3 Upgrader / Upgrade Files / DocServer Docs / file.getVersion < prev    next >
Encoding:
Text File  |  1993-12-30  |  946 b   |  21 lines  |  [TEXT/DOCS]

  1.  
  2. Verb    file.getVersion
  3. Syntax    file.getVersion (path)
  4. Parameters    path is a path name of the file whose version you wish to determine.
  5. Action    Returns the application version of the file, excluding copyright information.
  6. Returns    The version of the file, as a string.
  7. Examples    file.getVersion ("System:System Folder:Finder") 
  8.     » 7.0
  9. file.getVersion ("System:AppleLink Folder:AppleLink™") 
  10.     » 6.0.2
  11. Note that the version number is a string. In some cases, it has more than one decimal point. It should never be dealt with as if it were a numeric value.
  12.  
  13. file.getVersion ("UserLand Frontier™")
  14.     » 3.0
  15. Notes    • Normally, only application files have versions.
  16. • You can use file.getVersion to provide status information to the user or to check for compatibility. (As versions change, an application’s IAC verbs might change or grow.)
  17. • For a longer version string, use file.getFullVersion.
  18. See Also    file.getFullVersion
  19. file.setVersion
  20. file.setFullVersion
  21.